90b6ea18bebb7b0dfe3d063346969c04c4e97fc3,src/test/java/net/imagej/ops/topology/eulerCharacteristic/EulerCharacteristic26NFloatingTest.java,EulerCharacteristic26NFloatingTest,testCube,#,33

Before Change


    public void testCube() throws Exception {
        final Img<BitType> img = drawCube(1, 1, 1, 1);

        final Double result = ops.topology().eulerCharacteristic26NFloating(img);

        assertEquals("Euler characteristic (χ) is incorrect", 1.0, result, 1e-12);
    }

After Change


    public void testCube() throws Exception {
        final Img<BitType> img = drawCube(1, 1, 1, 1);

        final double result = ops.topology().eulerCharacteristic26NFloating(img).get();

        assertEquals("Euler characteristic (χ) is incorrect", 1.0, result, 1e-12);
    }